﻿<%@ Page Title="食品原料" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Storageintro.aspx.cs" Inherits="StoragePeriod.Web.Nutritionknowledge.Storageintro" %>
<%@ Register src="/UserControls/FCKEditor/FCKContent.ascx" tagname="FCKContent" tagprefix="uc1" %>
<asp:Content ID="ContentScript" ContentPlaceHolderID="ContentScriptManager" runat="server"></asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../js_bianjiqi/xheditor-1.1.14-zh-cn.min.js"></script>

    <script src="/Scripts/artDialog/artDialog.source.js?skin=default" type="text/javascript"></script>
    <script src="/Scripts/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
    <script type="text/javascript">
        function ShowDialog() {
            if ($("#MainContent_HidRawID").val() != "") {
                var RawID = $("#MainContent_HidRawID").val();
                art.dialog.open('/Nutritionknowledge/StorageintroEdit.aspx?RawID=' + RawID + "&Rid=" + Math.random(), { title: '原料营养知识' });
            }
            else {
                alert("请选择原料！");
            }
        }
    </script>

    <style type="text/css">
        .intro_tab01
        {
            width: 762px;
            height: auto;
            margin: 0px auto;
            padding: 0px;
        }
        .intro_tab01 .tab01_head
        {
            width: 762px;
            height: 30px;
            margin: 0px auto;
            padding: 0px;
            clear: both;
        }
        .intro_tab01 .tab01_head .title
        {
            width: 762px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            clear: both;
            font-size: 14px;
            font-weight: bold;
            color: #FFFFFF;
            background-color: #26A1E4;
        }
        .intro_tab01 .tab01_head .E_title
        {
            width: 552px;
            float: left;
            height: 30px;
            line-height: 30px;
            float: left;
            text-align: left;
            margin: 0px;
            padding: 0px 0px 0px 10px;
        }
        .intro_tab01 .tab01_head .E_pardr
        {
            width: 200px;
            float: left;
            height: 30px;
            line-height: 30px;
            text-align: center;
            vertical-align: middle;
            float: right;
        }
        
        .intro_tab01 .tab01_body
        {
            width: 742px;
            height: 381px;
            margin: 0px auto 10px;
            padding: 10px;
            clear: both;
            text-align: left;
            overflow: auto;
            border-bottom: 4px solid #26A1E4;
        }
        .intro_tab01 .tab01_foot
        {
            width: 762px;
            height: 30px;
            margin: 0px auto;
            padding: 0px;
            clear: both;
            vertical-align: middle;
        }
        .Red{color:Red;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainLeft" runat="server">

            <h2><asp:Label ID="Left_Title" runat="server" Text="食品原料"></asp:Label></h2>
            <div class="Left_Main">
                <h3>食品原料列表</h3>
                <div class="Left_Rawlist" style="height:396px;">
                    <asp:TreeView ShowLines="True" ID="NutrientsTree" Style="max-height: 320px; text-align: left;"
                        runat="server" OnSelectedNodeChanged="SysTree_SelectedNodeChanged">
                        <SelectedNodeStyle Font-Bold="True" BackColor="#0072BB" ForeColor="#ffffff" />
                    </asp:TreeView>
                </div>
                <div class="Left_Search" style="height: 60px;">
                    <ul>
                        <li>
                            <asp:TextBox style="width: 106px;" ID="Txt_Search" runat="server"></asp:TextBox>
                        <li>
                            <asp:Button ID="btn_search" class="btn_search" runat="server" Text="" 
                                onclick="btn_search_Click" /></li>
                    </ul>
                    <div class="clearboth">
                    </div>
                </div>
            </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:HiddenField ID="HidRawID" runat="server" Value="" />
    <div class="Right_title">
        <ul>
        </ul>
    </div>
    <div class="Right_center">
        <div class="intro_tab01">
            <div class="tab01_head">
                <div class="title"><asp:Label ID="labRawName" runat="server"></asp:Label></div>
            </div>
        </div>
        <div style="width:100%; height:400px; overflow:auto;">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr><td style="padding-top:5px; font-weight:600;" align="left">原料简介：</td></tr>
                <tr>
                    <td align="left" style="padding-top:5px; min-height:250px;">
                        <asp:Label ID="lab_RawContent" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr><td align="left" style="padding-top:10px; font-weight:600;">贮存提示：</td></tr>
                <tr>
                    <td align="left" style="padding-top:10px;">
                        <asp:Label ID="lab_StoragePrompt" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
               <td align="center" style="padding-top:5px;"><input type="button" id="Button1" value="编辑" class="rbtn_01" onclick="ShowDialog()" /> </td>
            </tr>
        </table>
    </div>
    <div class="Right_foot">
        <img src="../images/images_29.jpg" width="764" height="8" />
    </div>
</asp:Content>
